package org.luxor.commons.mvc.annotation;

import org.springframework.web.bind.annotation.Mapping;

import java.lang.annotation.*;

/**
 * 接口版本号注解
 *
 * @author XinmingYan @date 2019/9/19 20:55 @version 0.0.1
 */
@Mapping
@Documented
@Target({ElementType.METHOD, ElementType.TYPE})
@Retention(value = RetentionPolicy.RUNTIME)
public @interface ApiVersion {

    /**
     * 版本号
     */
    double value();

}